home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1995 #2
/
Amiga Plus CD - 1995 - No. 2.iso
/
pd
/
mui
/
pocketcalc
/
pocketcalc.doc
< prev
next >
Wrap
Text File
|
1995-04-11
|
6KB
|
162 lines
PocketCalc V1.0
---------------
© Copyright 1995 Alex Taylor
All Rights Reserved
26/02/95
e-mail: ceeapt@hw.ac.uk
Introduction
------------
PocketCalc is a basic four-function calculator, such as you might buy to put
in your pocket and carry about with you. The difference is that you'll have
problems putting your computer in your pocket :-) It was written as a project
for the degree course I am on, so I had to write it, and I figured I might as
well release it, for what it's worth...
Requirements
------------
PocketCalc requires MUI V2.2 or better in order to run (it was either that or
write a shell-based interface), so you'll need to download it from Aminet or
somewhere. It also requires Kickstart V37 or better to run. Mouse is optional.
MUI is of course © Copyright 1994 Stefan Stuntz, and is brilliant :-)
See below for more information.
Installation
------------
Simply copy PocketCalc and its icon whereever you want them, and double-click
the icon to start, or you can use the shell if you prefer.
Usage
-----
Er, who hasn't used a pocket calculator before? All the buttons have keyboard
shortcuts, as follows:
All digits are exactly what you'd expect them to be. The numeric keypad keys
may of course be used in preference to the main ones. The decimal point and
operator keys are as in the interface, except for 'x' and '÷' which are
controlled by '*' and '/' respectively. The other buttons are controlled as
follows:
'=' 'Return' or 'Enter'
'AC' 'a'
'C' 'c'
'MR' 'Shift-r'
'M+' 'm'
'M-' 'Shift-m'
'Sqrt' 'r'
'x²' 's'
'±' 'n'
'Pi' 'p'
Pressing 'C' will clear the display, but not the current calculation (if any),
so if you make a mistake in entering a number, simply press 'C' and re-enter it.
'C' will not clear the memory.
Pressing 'AC' will clear the current calculation and the memory as well.
If an error message appears (in the event that you try to divide by zero or to
take the root of zero), pressing 'C' or 'AC' will clear it.
Distribution
------------
PocketCalc is freely distributable, provided you don't modify it in any way,
and that all files in the archive go with it. In fact, it's probably best if
you simply pass on the archive intact. You may delete any files you want for
your own purposes, but you mustn't distribute an incomplete archive.
Warranty
--------
None. If it goes wrong, it's not my fault. I can probably be persuaded to
fix it (money helps here :-) if there is a bug. My e-mail address is at the
top of this document.
Source
------
Included for your own reference only. Don't pass bits of it off as your own,
but by all means learn from it if you wish.
History
-------
26/01/95 Project started. Basic design arrived at, and coding begun.
User interface designed and written, plus input handling for
digits. Decimal point not yet working. Leading zero suppression
in place, however.
27/01/95 Decimal point working. Initial operation code written. Rather
buggy... Functions not implemented as yet. Error function
written, doesn't appear to be getting called.
9/02/95 Maths operations almost fixed, one or two little bugs to work out.
Mathematical accuracy is lousy right now. Seems to be using
about 16 bits! I'm trying to use 96 bits...
10/02/95 Accuracy fixed. Using the wrong maths library :-( Still not got
around to fixing the other bugs. Error function working now.
Implemented the 'AC' and 'C' functions.
26/02/95 All bugs finally fixed; Memory function implemented. Swapped the
'.' and '0' buttons around.
27/02/95 First release; uploaded to Aminet.
This application uses
MUI - MagicUserInterface
(c) Copyright 1993/94 by Stefan Stuntz
MUI is a system to generate and maintain graphical user interfaces. With
the aid of a preferences program, the user of an application has the
ability to customize the outfit according to his personal taste.
MUI is distributed as shareware. To obtain a complete package containing
lots of examples and more information about registration please look for
a file called "muiXXusr.lha" (XX means the latest version number) on
your local bulletin boards or on public domain disks.
If you want to register directly, feel free to send
DM 30.- or US$ 20.-
to
Stefan Stuntz
Eduard-Spranger-Straße 7
80935 München
GERMANY